<%@ tag pageEncoding="UTF-8" description="对话框基础标签"%>
<%@ attribute name="title" 		required="true"	 description="对话框的标题（必须）"%> 
<%@ attribute name="className"	required="false" description="添加到 markup 的样式类"%> 
<%@ attribute name="btns" fragment="true" required="false" description="对话框的按钮内容，如果没有只显示'确定'一个按钮"%> 
<%@ attribute name="isCRUD_Btn" 	type="java.lang.Boolean" required="false" description="要用于 CRUD 的窗体请设为 true"%> 
<%@ attribute name="isNoMask" 		type="java.lang.Boolean" required="false" description="不需要背景 Mask？"%> 
<%@ attribute name="isEntityDlg" 	type="java.lang.Boolean" required="false" description="说明这个不是 实体用的窗体，默认是"%> 

<textarea class="<%if(isEntityDlg  == null){%>entryTpl <%}%>hide ${className}_tpl">
	<div class="<%if(isEntityDlg  == null){%>entryTpl <%}%>${className}">
		<div class="box">
			<!-- 顶部按钮 -->
			<button class="closeAction rightTopIcon" title="关闭对话框">×</button>
			<!-- 标题 -->
			<h1>${title}</h1>
			<form>
				<!-- 中间正文内容 -->
				<div class="innerPanel entry hide">
   					<jsp:doBody />
				</div>
				
				<!-- 底部按钮 -->
				<div class="bottomBtns">
					<%if(btns != null){ %>
					<jsp:invoke fragment="btns" /> 
					<%}%>
					 
					<%if(isCRUD_Btn != null){%>
			  		<button class="createAction">新 建</button>
					<button class="modiflyAction">修 改</button>
					<button class="closeAction">关 闭</button>
					<%}%>
					 
					<%if(btns == null && isCRUD_Btn == null){ %>
					<button class="ok">确 定</button> 
					<%}%>
				</div>
			</form>
		</div>
	<%
	if(isNoMask == null){%>
		<div class="mask"></div>
	<%}%>
	</div>
</textarea>